<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/7/4
  Time: 16:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户注册</title>
</head>
<style type="text/css">
    *{
        margin: 0;
        padding: 0;
    }
    .clearfix:after{
        content: "";
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
    }

    h3,p,div,dl,ul,dd,dt,li,body{
        margin: 0;
        padding: 0;
    }
    a{
        color: black;
        text-decoration: none;
    }
    a:hover{
        color: blue;
    }
    .fl{
        float: left;
    }
    .wrapperb{
        width:900px;
        height:70px;
        margin-left:25%;
    }
    .pg_body{
        margin-top: 20px;
        font-size: 18px;
        display: inline-block;
        width: 200px;
    }
    .menu{
        width: 800px;
        padding: 15px;
        float: left;
        font-weight: bold;
        color: #B0B0B0;
    }
    .kong{
        margin-top: -54px;
        margin-left: 200px;
        float:left;
        padding: 15px;
    }
    input[type="text"]{
        width: 200px;
        height: 25px;
        border-radius: 6px;
    }
    input[type="password"]{
        width: 200px;
        height: 25px;
        border-radius: 6px;
    }
    input[type="button"]{
        background-color: #EE9572;
        color: white;
        padding: 10px 25px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 15px;
        cursor: pointer;
        border-radius: 4px;
    }
    input[type="submit"]{
        background-color: #EE9572;
        color: white;
        padding: 9px 35px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 15px;
        cursor: pointer;
        border-radius: 4px;
    }
    .shadow{
        -webkit-box-shadow: #666 0px 0px 10px;
        -moz-box-shadow: #666 0px 0px 10px;
        box-shadow: #666 0px 0px 10px;
        background: white;
    }
</style>
<body>
<div class="wrapperb clearfix" style="margin-top: 10px;border-bottom: solid 3px #98FB98">
    <img class="fl" src="img/n5.png" >
</div>
<form  action="UserRegServlet" class="shadow" method="post" style="width:900px;height:520px;margin-left:24.8%;margin-top:60px; border:solid 1px #B0B0B0">
    <div class="pg_body" style="padding-left:25% ">
        <div class="menu">用户名:</div>
        <div class="kong">
            <input type="text" placeholder="请输入用户名" name="username" >
        </div>
        <div class="menu">真实姓名:</div>
        <div class="kong">
            <input type="text" name="realname" placeholder="请输入真实姓名">
        </div>
        <div class="menu">性别:</div>
        <div class="kong" style="width:200px;">
            <input type="radio" name="sex" value="男">男
            <input type="radio" name="sex" value="女">女
        </div>
        <div class="menu">密码:</div>
        <div class="kong">
            <input type="password" name="password" placeholder="请输入密码">
        </div>
        <div class="menu">联系方式:</div>
        <div class="kong">
            <input id="i5" type="text" name="phone" placeholder="请输入联系方式">
        </div>
        <div class="menu">邮箱地址:</div>
        <div class="kong">
            <input type="text" name="email" onblur="check()" placeholder="请输入邮箱地址">
        </div>
    </div>
    <div style="margin-top: 30px;margin-left:25%">
        <input type="submit"  value="注  册">
        <p style="width: 150px;display: inline-block;"></p>
        <input type="button" onclick="jump()" value="返回首页">
    </div>
</form>
<script>
    function jump(){
        window.open("main.jsp");
    }
</script>
</body>
</html>
